<script>
var a = new Array();
a[0] = 1.2;
a[1] = "JavaScript";
a[2] = true;
a[3] = {x:1, y:2};
a[4] = new Array(1,2,3);
alert(a);
</script>